package com.yuanian.wf.context.process;

import com.yuanian.wf.pojo.dto.StartProcessDto;
import org.activiti.engine.runtime.ProcessInstance;

/**
 * 流程开启后的上下文环境
 * @param <T>
 */
public class StartProcessAfterContext<T> extends StartProcessBeforeContext {

    //流程实例
    private ProcessInstance processInstance;

    public StartProcessAfterContext(StartProcessDto startProcessDto, ProcessInstance processInstance) {
        super(startProcessDto);
        this.processInstance = processInstance;
    }

    public ProcessInstance getProcessInstance() {
        return processInstance;
    }

}
